#include "form2.h"
#include "ui_form2.h"
#include <QDirModel>
#include <QTreeView>
Form2::Form2(QWidget *parent) :
    QWidget(parent),
    ui2(new Ui::Form2)
{
    ui2->setupUi(this);


    ui2->treeView->setModel(model);
    model->setRootPath("");

}

Form2::~Form2()
{
    delete ui2;
}
